package top.healthylife.gateway.platform.bj.api.api.xingyu;


import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import top.healthylife.gateway.core.service.ParentFace;
import top.healthylife.gateway.dto.annotation.ApiServiceExplain;
import top.healthylife.gateway.platform.bj.api.util.BjHttpUtil;
import top.healthylife.gateway.platform.bj.dto.personalmark.v1.xingyu.largeamount21.req.BjReqPersonalMarkStar21LargeAmountV1Dto;
import top.healthylife.gateway.platform.bj.dto.personalmark.v1.xingyu.largeamount21.res.BjResPersonalMarkStar21LargeAmountV1Dto;

/**
 * @author : GaoZeXi
 * @date 2021/7/14 9:50
 */
@Slf4j
@Service
@ApiServiceExplain(price = 20,apiName = "个人评分-星宇分21大额版", info = "冰鉴个人评分平台 星宇分21大额版 API 接口。")
public class PersonalMarkStar21LargeAmountV1Api implements ParentFace<BjReqPersonalMarkStar21LargeAmountV1Dto, BjResPersonalMarkStar21LargeAmountV1Dto> {
    static final String URL = "/person-ds/credit/BigAmountGalaxyScore21";
    @Override
    public BjResPersonalMarkStar21LargeAmountV1Dto execute(BjReqPersonalMarkStar21LargeAmountV1Dto dto){
        return BjHttpUtil.httpRequest(dto,URL, BjResPersonalMarkStar21LargeAmountV1Dto.class);
    }
}
